<?php
/* @var $this TableauArchitecteController */
/* @var $model TableauArchitecte */
/* @var $form CActiveForm */
?>

<style>

.data {
    background: none repeat scroll 0 0 #f5f5f5;
    border: 1px solid lightgrey;
    border-radius: 10px;
    padding: 10px;
    width: 350px;
}

</style>

<div class="form well">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tableau-architecte-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>
	
	<div class="">
		<p>
			<?php echo $form->label($model,'nom'); ?>
			<?php echo $form->textField($model,'nom',array('size'=>112,'maxlength'=>150)); ?>
			<?php echo $form->error($model,'nom'); ?>
		</p>
		<p>
			<?php echo $form->label($model,'sousTitre'); ?>
			<?php echo $form->textField($model,'sousTitre',array('size'=>112,'maxlength'=>255)); ?>
			<?php echo $form->error($model,'sousTitre'); ?>
		</p>
		<p>
			<?php echo CHtml::submitButton($model->isNewRecord ? 'Créer' : 'Sauvegarder', array('class' => 'btn', 'style' => 'float: right;')); ?>
		</p>
                <p>&nbsp;</p>
	</div>

<?php $this->endWidget(); ?>
 
</div><!-- form -->
